package edu.misaka.moe.service.iface;

import java.util.List;
import java.util.Map;

import edu.misaka.moe.domain.Page;
import edu.misaka.moe.domain.UMQueryKeyword;
import edu.misaka.moe.domain.User;
import edu.misaka.moe.domain.UserDetail;

public interface UserService {
	public boolean login(String name, String password);
	public boolean insertUser(User user);
	public boolean insertUserDetail(UserDetail ud);
	public boolean register(User user,UserDetail ud);


	public void showByPage(Page<List<Map<String,Object>>> page);
	public void getTotalRow(Page<List<Map<String,Object>>> page);
	
	public void showByPage(Page<List<Map<String,Object>>> page,UMQueryKeyword qk);
	public void getTotalRow(Page<List<Map<String,Object>>> page,UMQueryKeyword qk);
}
